package com.demo1;

/**
 * Created by Administrator on 2017/3/25.
 */
public class ZiZengJian2 {
    public static void main(String[] args) {
        byte b1 = 5;
        byte b2 = (byte) (b1 + 1);
        System.out.println("使用加运算符的结果是" + b2);
        byte b3 = 5;
        byte b4 = ++b3;
        System.out.println("使用自增运算符的结果是" + b4);
    }
}
